<h1>Attendant Permits</h1>
<#if permits?has_content>

<table>
	<thead>
		<tr>
			<th>Id</th>
			<th>Title</th>
			<th>View</th>
		</tr>
	</thead>
	<tbody>
		<#list permits as permit>
			<tr>
				<td>${permit.id}</td>
				<td>${permit.title}</td>
				<td><a href="${rootPath}/permits/${permit.id?c}">View</a></td>
			</tr>
		</#list>
	</tbody>
</table>
<#else>
<h2>There is no permit for you.</h2>
</#if>

<p>
<a href="${rootPath}/permits/add">Add new Attendant Permit</a>
</p>
